package com.zhangtai.modules.dto;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class HireDto {
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long oid;
    /**
     * 姓名
     */
    private String name;
    /**
     * 拟录用部门
     */
    private String unitname;
    /**
     * 部门id
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long unitId;
    /**
     * * 拟录用公司
     */
    private String orgname;
    /**
     * 公司id
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long orgId;
    /**
     * 拟录用岗位
     */
    private String jobname;
    /**
     * 职位id
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long jobId;

    /**
     * 职级id
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long jobLevelId;
    /**
     * 职级
     */
    private String jobLevel;

    @ApiModelProperty(value="职级类别,1:专业职级，2：管理职级",required = false)
    private Integer jobLevelType;

    /**
     * 是否发送offer
     */
    private Integer isOffer;

    /**
     *  员工录用审批状态：0:新建 ，1：填写完以保存 2：bpm待审批，3：审批完成，正式录用，4：作废
     */
    private Integer status;

    /**
     * 0:社招，1：实习生
     */
    private String socialTrainee;
}
